package edu.scau.cxq.gp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @description 存储货物信息
 * @return
 * @author TLC
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_goods")
public class Goods implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 货物编号
     */
    @TableId(value = "goods_id", type = IdType.AUTO)
    private Long goodsId;

    /**
     * 货物名称
     */
    @TableField("goods_name")
    private String goodsName;

    /**
     * 货物所占空间（一个货架可以存放多少）
     */
    @TableField("goods_costs")
    private Integer goodsCosts;

    /**
     * 货物尺寸
     */
    @TableField("goods_size")
    private String goodsSize;

    /**
     * 货物重量（单位：g）
     */
    @TableField("goods_weight")
    private Integer goodsWeight;

    /**
     * 隐藏位5
     */
    @TableField("goods_hidden")
    private Integer goodsHidden;


}
